package com.quectel.core.module.partyeducationtraining.dto.ref;

import com.quectel.core.module.partybuilding.dto.PartyPersonDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author rananxin
 * @email ryan.ran@quectel.com
 * @date 2022/5/20 16:39
 */
@Data
@Schema
@EqualsAndHashCode(callSuper=true)
public class TrainingRefPersonDto extends PartyPersonDto implements Serializable {

    /**
     * 课时id
     */
    @Schema(description = "课程id")
    private Long trainingId;

    /**
     * 0-100
     */
    @Schema(description = "完成百分比")
    private Byte completeRate;

    /**
     * 开始学习时间
     */
    @Schema(description = "开始学习时间")
    private Date startTime;

    /**
     * 结束学习时间
     */
    @Schema(description = "结束学习时间")
    private Date endTime;

    /**
     * 课时名称
     */
    @Schema(description = "课程名称")
    private String trainingName;

}
